package org.fastsyncer.common.constant;

public class ConvertConstant {

    /**
     * 默认
     */
    public static final String CONVERT_TYPE_DEFAULT = "default";
    
    /**
     * 默认时间戳
     */
    public static final String CONVERT_TYPE_DEFAULT_TIMESTAMP = "defaultTimestamp";

    /**
     * 替换,例如“张?三”替换?为空字符串 => 张三
     */
    public static final String CONVERT_TYPE_REPLACE = "replace";
    
	/**
	 * 追加在前面,例如“张三”追加123 => 123张三
	 */
	public static final String CONVERT_TYPE_PREPEND = "prepend";

    /**
     * 追加在后面,例如“张三”追加123 => 张三123
     */
    public static final String CONVERT_TYPE_APPEND = "append";
    
    /**
     * AES加密
     */
    public static final String CONVERT_TYPE_AES_ENCRYPT = "aesEncrypt";
    
    /**
     * AES解密
     */
    public static final String CONVERT_TYPE_AES_DECRYPT = "aesDecrypt";
    
    /**
     * SHA1加密
     */
    public static final String CONVERT_TYPE_SHA1 = "sha1";
    
    /**
     * UUID
     */
    public static final String CONVERT_TYPE_UUID = "uuid";

    /**
     * 去掉首字符
     */
    public static final String CONVERT_TYPE_REM_FIRST = "remStrFirst";
    
    /**
     * 去掉尾字符
     */
    public static final String CONVERT_TYPE_REM_LAST = "remStrLast";
    
    /**
     * 从前面截取N个字符
     */
    public static final String CONVERT_TYPE_SUB_FIRST = "subStrFirst";
    
    /**
     * 从后面截取N个字符
     */
    public static final String CONVERT_TYPE_SUB_LAST = "subStrLast";
    
    /**
     * 补位数字,例如“0000” => 0012
     */
    public static final String CONVERT_TYPE_PICK_UP_NUM = "pickUpNum";
    
    /**
     * 清空
     */
    public static final String CONVERT_TYPE_CLEAR = "clear";
	
}
